home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 17 / AMIGAplus Sonderheft 17 (1999)(ICP)(DE)[!].iso / PD / Anwendungen / ToolManager / Source / WBStartup / DMakefile < prev    next >
Makefile  |  1998-06-17  |  1KB  |  48 lines

  1. #
  2. # DMakefile  V3.1
  3. #
  4. # Makefile for ToolManager 3.1 (WBStartup)
  5. #
  6. # Copyright (C) 1990-98 Stefan Becker
  7. #
  8. # This source code is for educational purposes only. You may study it
  9. # and copy ideas or algorithms from it for your own projects. It is
  10. # not allowed to use any of the source codes (in full or in parts)
  11. # in other programs. Especially it is not allowed to create variants
  12. # of ToolManager or ToolManager-like programs from this source code.
  13. #
  14. TMPDIR = T:
  15. PRE    = $(TMPDIR)tmwbstartup.m
  16. FLAGS  = -3.1 -mi -mRR -ms
  17. IDIRS  = -I//Developer/C/include
  18. #CFLAGS = $(FLAGS) -DDEBUG=0 -d1 $(IDIRS) -proto -H$(PRE)=toolmanager.h -c
  19. CFLAGS = $(FLAGS) $(IDIRS) -proto -H$(PRE)=toolmanager.h -c
  20. #LFLAGS = $(FLAGS) -d1
  21. LFLAGS = $(FLAGS)
  22. #LIBS   = -l0 -ldebug -lc -lamiga31 -lamiga31s
  23. LIBS   = -l0
  24.  
  25. CSRCS  = toolmanager.c debug.c
  26. COBJS  = $(CSRCS:"*.c":"$(TMPDIR)wbstartup*.o")
  27. DOBJ   = $(COBJS:"*debug.o")
  28.  
  29. DEST   = //WBStartup/ToolManager
  30.  
  31. all      : $(DEST)
  32.  
  33. $(DEST)  : $(COBJS)
  34.          dcc $(LFLAGS) -o %(left) %(right) $(LIBS)
  35.  
  36. $(COBJS) : $(CSRCS)
  37.          dcc $(CFLAGS) -o %(left) %(right)
  38.  
  39. $(COBJS) : $(PRE)
  40.  
  41. $(DOBJ)  : /global_debug.c
  42.  
  43. $(PRE)   : toolmanager.h /global.h DMakefile
  44.          -Delete %(left) QUIET
  45.  
  46. clean    :
  47.          -Delete $(PRE) $(COBJS) QUIET
  48.